﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{

}
<div class="layui-form layui-row childrenBody" id="add-form">
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-block">
            <div class="layui-upload-list">
                <img class="layui-upload-img userFaceBtn userAvatar" style="height:80px" id="userFace" src="~/Images/face.jpg" name="sPicUrl">
            </div>
            <button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i>换个头像</button>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="sLoginName">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">用户名称：</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="sUserName">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</label>
            <div class="layui-input-block" name="iSex">
                <input type="radio" name="iSex" value="1" title="男" checked="">
                <input type="radio" name="iSex" value="2" title="女">
                <input type="radio" name="iSex" value="0" title="保密">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">手机号码：</label>
            <div class="layui-input-inline">
                <input type="tel" value="" lay-verify="phone" class="layui-input" name="sPhone" >
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
            <div class="layui-input-inline">
                <input type="password" class="layui-input" name="sPassword">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">重复密码：</label>
            <div class="layui-input-inline">
                <input type="password" class="layui-input" name="sRepeatPassword">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">所属角色：</label>
        <div class="layui-input-block" style="width:840px">
            <select name="sRoleList" xm-select="sRoleList">

            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属部门：</label>
        <div class="layui-input-block" style="width:840px">
            <select name="sDepartmentList" xm-select="sDepartmentList">

            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">岗&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位：</label>
        <div class="layui-input-block" style="width:840px">
            <select name="sPostList" xm-select="sPostList">

            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</label>
            <div class="layui-input-block" name="iState">
                <input type="radio" name="iState" value="0" title="正常" checked="">
                <input type="radio" name="iState" value="1" title="冻结">
            </div>
        </div>
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-input-block">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addButton">立即添加</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
    </div>
</div>
@section Foot
{
    <script src="~/Areas/Authority/js/user.add.js"></script>
}
